const mysql=require('mysql');

let db = mysql.createConnection({host:`localhost`,port:3306,user:'root',password:'zqy.123',database:'zqy'});

db.query("INSERT INTO address_info (contact,phone,district,detail,status) VALUES('zqy','18811709105','beijing','nothing',0)",(error,data)=>{
  if(error){
    console.log(error);
  }else{
    console.log(data);
  }
});
